#ifndef WM_PARAM_HPP
#define WM_PARAM_HPP

#define small_buff 1
#define big_buff 3
namespace WINDMILL
{

    const double Pi = 3.1415926;
    const double sigma = 0.08;
    const int exp_time = 4000;

    struct wm_param
    {
        int s_armor_min = 500;
        int s_armor_max = 1300;
        float armor_ratio_min = 1.35;
        float armor_ratio_max = 2.25;
        float s_armor_ratio_min = 0.5;
        float s_armor_ratio_max = 1;

        int s_R_min = 128;
        int s_R_max = 250;
        float R_ratio_min = 1.15;
        float R_ratio_max = 2.3;
        float s_R_ratio_min = 0.53;
        float s_R_ratio_max = 1.2;

        int s_leaf_min = 2000;
        int s_leaf_max = 3200;
        float fin_ratio_min = 1.9;
        float fin_ratio_max = 2.8;
        float s_fin_ratio_min = 0.3;
        float s_fin_ratio_max = 0.52;

        int R = 130;         //能量机关图像半径
        float length = 0.68; //能量机关实际宽度
        int dist_min = 105;
        int dist_max = 140;
        float hight = 900;    //云台标准位置离R高度
        float hit_dx = 7.150; //打击点距能量机关R水平距离
        float constant_speed = 50;
        int direction = 1; //是否逆时针转动
        float init_k_ = 0.02;
    };
    struct velocity_fun
    {
        float A = 1;
        float w = 3.25;
        float A0 = 2;
        float fai = 6;
    };
}

#endif